<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<div>replace 调用方式：</div>
<div th:replace="~{common::header}"></div>
<body>
<div th:each="item:${listmap}">
    <li th:text="${item.name}"></li>
    <li th:text="${item.age}"></li>
</div>
<span th:text="9+3"></span>
<span th:text="9%3"></span>

<td th:text="${#dates.format(time,'yyyy-MM-dd HH:mm:ss')}">格式化时间</td>
</body>
<div>include调用方式</div>
<div th:include="~{common::footer}"></div>
</html>